package com.fq.common.core.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author 超chao
 * @Description 基础更新状态数据传输类
 * @Date 2024/11/25/周一 14:08
 * @Version 1.0
 */
@Data
@ApiModel(value="更改状态数据传输类")
public class BaseChangeStateDTO<T> {
    @ApiModelProperty(value = "角色ID", required=true)
    @NotNull(message = "ID不能为空")
    private T id;
    @ApiModelProperty(value = "状态", required=true)
    @NotNull(message = "状态不能为空")
    private Integer state;
    @ApiModelProperty(value = "备注")
    private String remark;
}
